RankMath\Redirections\Redirection A

Total Complexity 59
Dependencies 4
Dependents 9
Total lines 436
Lines of code 199
Logical lines of code 103
Comment lines 177
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
sanitize_source_url()
A
49 9 29
pre_redirection_cache()
S
50 5 32
sanitize_source()
S
61 5 12
create()
S
56 3 18
add_source()
S
59 3 15
save_redirection_cache()
S
65 4 9
add_sources()
S
68 4 6
from()
S
61 3 13
save()
S
65 3 10
add_destination()
S
67 3 7
__construct()
S
68 3 7
has_sources()
S
78 2 3
sanitize_source_regex()
S
63 2 9
__get()
S
71 2 6
get_home_domain()
S
69 2 7
strip_subdirectory()
S
73 2 4
is_new()
S
82 1 3
set_nocache()
S
81 1 3
set_id()
S
80 1 3
get_id()
S
82 1 3